#ifndef __CAN_H__
#define __CAN_H__
// #include "fm33lg0xx_fl_can.h"
// #include "fm33lg0xx_fl.h"
// #include "can.h"
// #include "mf_config.h"
#include "typedefs.h"
typedef struct
{
    uint32_t StdId;  /*!< Specifies the standard identifier.
                        This parameter can be a value between 0 to 0x7FF. */

    uint32_t ExtId;  /*!< Specifies the extended identifier.
                        This parameter can be a value between 0 to 0x1FFFFFFF. */

    uint8_t DLC;     /*!< Specifies the length of the frame that will be
                        transmitted. This parameter can be a value between
                        0 to 8 */

    uint8_t Data[8]; /*!< Contains the data to be transmitted. It ranges from 0
                        to 0xFF. */
} busCanTxMsg;
#define DELAY_1000MS (1000)
#define DELAY_100MS  (100)
extern busCanTxMsg TxMessage;   
void CanBusOff_Recover();
void TT_GetDelayT_MS_CallBak(void);
#endif 